

function gs(d, a) {
	if (d.currentStyle) {
		var curVal = d.currentStyle[a]
	} else {
		var curVal = document.defaultView.getComputedStyle(d, null)[a]
	}
	return curVal;
}
